<?php
require_once("tasktypeView.php");
require_once(CORE_DIR.'tasktypeModel.php');

class getAction extends authAction{

	function __construct(){
		$this->view = new tasktypeView();
	}

	public function run($get, $post, $viewtype) {
		parent::run($get,$post,$viewtype);
		
		$ttModel = new tasktypeModel();		
		$tasktypes = $ttModel->getTaskTypes();
		
		$this->view->setProperty("tasktypes", $tasktypes);
		$this->view->showGetTaskTypes();
			
	}
}
?>